<%--
  Created by IntelliJ IDEA.
  User: Mr.nico
  Date: 2022/1/4
  Time: 20:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>我的任务</title>
    <style>
        body{margin:5px;background-color:burlywood;}
        #main{background-image:url(images/bg/bg12.png);widtd:90%;margin:0 auto;min-height:600px;padding:0px 0px;}
        .a1{ text-align:center;color:blue;letter-spacing:10px;font-size:48px;font-family:华文行楷;line-height:120px;}
        .a1 span {color:red;}
        img{height:80px;}

        .right{position:absolute;top:40px;right:0px;}
        #nav{background-color:#330;line-height:40px;padding:0px 50px;font-size:14px}
        #nav a{color:white}
        #wall{padding:10px 50px;}
        td{text-align:center;border:none;border-bottom:1px dashed black}
        table{background-image:url(images/bg/bg14.jpg)}
    </style>
</head>
<body>
<div id="main">

    <div id="wall">
        <h1 style="text-align:center">我的任务</h1>
        <table border="1px" width="60%" cellspacing="0" align="center" border="0">
            <tbody>
            <tr>
                <td>编号</td>
                <td>任务名称</td>
                <td>申请人</td>
                <td>出诊日期</td>
                <td>时间段</td>
                <td>挂号费用</td>
                <td>放号数量</td>
                <td>剩余号数</td>
                <td>状态</td>
                <td>操作</td>
            </tr>
            <c:forEach var="a" items="${brList}">
                <tr>
                    <td>${a.planId}</td>
                    <td>${a.task.name}</td>
                    <td>${a.doc.docName}</td>
                    <td>${a.planDate}</td>
                    <td>
                        <c:if test="${a.planTimetype=='1'}">
                            上午
                        </c:if>
                        <c:if test="${a.planTimetype!='1'}">
                            下午
                        </c:if>
                    </td>
                    <td>${a.planFee}</td>
                    <td>${a.planMax}</td>
                    <td>${a.planCan}</td>
                    <td>${a.planWfState}</td>
                    <td>
                        <a href="pass?askid=${a.planId}&taskid=${a.task.id}">审批</a>
                        <a href="/hp/plans/now?askid=${a.planId}">查看流程图</a>
                    </td>
                </tr>
            </c:forEach>


            </tbody></table>
        <p></p>
        <h1 style="text-align:center">我的任务</h1>
        <table align="center" width="60%" cellspacing="0px">

            <tbody>
            <tr>
                <td>编号</td>
                <td>任务名称</td>
                <td>申请人</td>
                <td>出诊日期</td>
                <td>时间段</td>
                <td>挂号费用</td>
                <td>放号数量</td>
                <td>剩余号数</td>
                <td>状态</td>
                <td>候选审批人</td>
                <td>操作</td>
            </tr>
            <c:forEach var="b" items="${groupBrList}">
                <tr>
                    <td>${b.planId}</td>
                    <td>${b.planRoom}</td>
                    <td>${b.doc.docName}</td>
                    <td>${b.planDate}</td>
                    <td>${b.planDate=='1'?'上午':'下午'}</td>
                    <td>${b.planFee}</td>
                    <td>${b.planMax}</td>
                    <td>${b.planCan}</td>
                    <td>${b.planWfState}</td>
                    <td>${b.groupLinksName}</td>
                    <td>
                        <a href="approve/pass?askid=${b.planId}&taskid=${b.task.id}">认领</a>
                        <a href="/hp/plans/now?askid=${b.planId}">查看流程图</a>
                    </td>
                </tr>
            </c:forEach>

            </tbody>
        </table>


    </div>
</div>
<body>
</html>
